#ifndef __DF29FE72_68F7_4cab_A76C_E21712A0181F__
#define __DF29FE72_68F7_4cab_A76C_E21712A0181F__

#include "../import/head.h"
#include "../tools/head.h"
#include "data.h"

//////////////////////////////////////////////////////////////////////////////////
// 

namespace xos_sgsj
{
    class session;

    class udp : public xos_stl::mem_pool_item< udp, thread_lock >
    {
    public:
        udp();
        ~udp();

    public:
        int m_nPostRecvNum;
        int m_nPostSendNum;

        session * m_pSession;
        void * m_pAioKey;

		char m_szIp[256];
        int m_nPort;

    public:
        int release();
        int init();
        int term();
    };
} // xos_sgsj

#endif // __DF29FE72_68F7_4cab_A76C_E21712A0181F__
